<?

require_once("cms/core/helper/Abstract.php");

class PHP_MELANGE_CMS_View_Helper_2Menu extends PHP_CMS_View_Helper_Abstract {

    public function 2menu($active) {

?>
<div class="menu">
    <div class="left">

        <a href="index"><?=$active == "home" ?
                "<b>".$this->message("home.header")."</b>" :
                $this->message("home.header")?></a> |

        <a href="menu/list"><?=$active == "menus" ?
                "<b>".$this->message("nav.menus", Core::BUNDLE)."</b>" :
                $this->message("nav.menus", Core::BUNDLE)?></a> |

        <a href="image/list"><?=$active == "images" ?
                "<b>".$this->message("nav.images", Core::BUNDLE)."</b>" :
                $this->message("nav.images", Core::BUNDLE)?></a> |

        <a href="page/list"><?=$active == "content" ?
                "<b>".$this->message("nav.pages", Core::BUNDLE)."</b>" :
                $this->message("nav.pages", Core::BUNDLE)?></a>

    </div>
    <div class="right">
    </div>
    <br style="clear:both" />
</div>
<?
    }
}
?>